TableDirections
TableDirections is an option for TableForm and MatrixForm which specifies whether successive dimensions should be arranged as rows or columns.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.